package com.qy127.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("/book")
public class Book {

    private Integer bookid;
    private String bookname;
    private String author;
    private Integer count;
    private String remark;
    private Integer typeid;
    private String publisher;
    private Double price;
    private int status;
    private String url;
    private Integer page;//当前页数
    private Integer limit;//每页显示的条数

    public Book(String bookname) {
        this.bookname = bookname;
    }
}
